package com.Wheesper.www.WheesperServer.Model;

import java.util.Date;


//MODEL USER - MAPPING ER Diagram UserInfo

public class UserInfo {
	
	private final Integer _id;
	private String _head_image_path = "default";
	private String _sex = "default";
	private String _nickname = "default";
	private Integer _age = 0;
	private Date _created_date =  new Date();
	private String _city = "default";
	private String _province = "default";
	private String _country = "default";
	
	public UserInfo(Integer id) {
		_id = id;
	}
	
	//Only getter 
	public Integer ID() {
		return _id;
	}

	//Sex
	public String Sex() {
		return this._sex;
	}
	public void Sex(String sex) {
		this._sex = sex;
	}
	
	//nickname
	public String NickName(){
		return this._nickname;
	}
	public void NickName(String name) {
		this._nickname = name;
	}
	
	//head_Image_loc
	public String HeadImgPath() {
		return this._head_image_path;
	}
	
	public void HeadImgPath(String loc) {
		this._head_image_path = loc;
	}
	
	//Location
	public void City(String city) {
		this._city = city;
	}
	public String City() {
		return this._city;
	}
	
	public void Province(String province) {
		this._province = province;
	}
	public String Province() {
		return this._province;
	}
	
	public void Country(String country) {
		this._country = country;
	}
	public String Country() {
		return this._country;
	}
	
	
	//Created Date
	public Date CreatedDate() {
		return this._created_date;
	}
	
	//Age
	public Integer Age() {
		return this._age;
	}
	public void Age(Integer age) {
		this._age = age;
	}
}
